home *** CD-ROM | disk | FTP | other *** search
Makefile | 1994-11-21 | 4.3 KB | 147 lines | [TEXT/MPS ] |
- #
- # Makefile to build the SNMP Sample Agent
- #
- # Copyright: © 1992-94 by Apple Computer, Inc., all rights reserved.
- #
-
- :Objects: ƒ :Sources:
-
- TARGETS = :Objects:SampleAgent.o :Objects:SampleAgent.clf.o ∂
- :Objects:SampleAgent.cln.o :Sources:SampleAgent.r ∂
- :Objects:SampleAgent.RSRC ":Built:SNMP Sample Agent"
-
- DOT_H = :Sources:SampleAgent.h :Sources:SampleVar.h
-
- DOT_R = :Sources:SampleAgent.r
-
- SRCS = :Sources:SampleAgent.cp
-
- # For :Objects:SampleAgent.o
- OBJS_00 = :Objects:SampleAgent.cp.o
-
- # For :Objects:SampleAgent.RSRC
- LIBS_04 = :Objects:SampleAgent.o ::Libraries:SNMPLibrary.clf.o ∂
- ::Libraries:LibraryManager.o "{Libraries}Runtime.o" "{Libraries}Interface.o"
-
- # For ":Built:SNMP Sample Agent"
- RES_05 = :Sources:SampleAgent.r
-
- # For :Objects:SampleAgent.clf.o
- EXDEPS_01 = :Objects:SampleAgent.RSRC
-
- # For :Objects:SampleAgent.cln.o
- EXDEPS_02 = :Objects:SampleAgent.RSRC
-
- # For :Sources:SampleAgent.r
- EXDEPS_03 = :Objects:SampleAgent.RSRC
-
- # For :Objects:SampleAgent.RSRC
- EXDEPS_04 = :Sources:SampleAgent.exp ::Tools:LibraryBuilder
-
- StdAIncludes = -i "::Library Manager Interfaces:" -i "::SNMP Interfaces:" -i ":Sources:" -i "{AIncludes}"
- StdCIncludes = -i "::Library Manager Interfaces:" -i "::SNMP Interfaces:" -i ":Sources:" -i "{CIncludes}"
- StdCPIncludes = -i "::Library Manager Interfaces:" -i "::SNMP Interfaces:" -i ":Sources:" -i "{CIncludes}"
- CPlus = CPlus -sym on,nolines -model far -mf -b2 -opt full -w1 -z15 -z17 {StdCPIncludes}
- LIB = Lib {SymbolOption}
- LINK = Link {SymbolOption} {ModelOption}
- COUNT = Count
- COUNTOPTS =
- CTAGS = Ctags
- CTAGSOPTS = -p -local -update
- DELETE = Delete
- DELETEOPTS = -i
- FILES = Files
- FILESOPTS = -l
- LIBOPTS =
- LINKOPTS =
- MAKEFILE = Makefile
- PRINT = Print
- PRINTOPTS =
- REZ = Rez
- SETFILE = SetFile
- SETFILEOPTS = -t 'MPST' -c 'MPS '
-
-
- AOptions = -i "::Library Manager Interfaces:" -i "::SNMP Interfaces:" -i :Sources: ∂
- -i "::Library Manager Interfaces:" -i "::SNMP Interfaces:" -i :Sources:
-
- COptions = -i "::Library Manager Interfaces:" -i "::SNMP Interfaces:" -i :Sources: ∂
- -i "::Library Manager Interfaces:" -i "::SNMP Interfaces:" -i :Sources:
-
- POptions = -i "::Library Manager Interfaces:" -i "::SNMP Interfaces:" -i :Sources:
-
- ROptions = -a -i "::Library Manager Interfaces:" -i "::SNMP Interfaces:" -i :Sources:
-
- all ƒ {TARGETS}
-
- :Objects:SampleAgent.o ƒ {OBJS_00}
- {LIB} {LIBOPTS} -o {Targ} {OBJS_00}
-
-
- :Objects:SampleAgent.clf.o ƒ {EXDEPS_01}
- SetFile -m . {Targ}
-
-
- :Objects:SampleAgent.cln.o ƒ {EXDEPS_02}
- SetFile -m . {Targ}
-
-
- :Sources:SampleAgent.r ƒ {EXDEPS_03}
-
-
-
- :Objects:SampleAgent.RSRC ƒ {LIBS_04} {EXDEPS_04}
- BuildSharedLibrary ":Objects:SampleAgent.o" ∂
- -lib ":Objects:SampleAgent.RSRC" ∂
- -far ":Objects:SampleAgent.clf.o" ∂
- -near ":Objects:SampleAgent.cln.o" ∂
- -exp ":Sources:SampleAgent.exp" -restype code -resid 0 ∂
- -i "::SNMP Interfaces:" ∂
- -i ":Sources:" ∂
- -i "::Library Manager Interfaces:" ∂
- ":Objects:SampleAgent.clf.o" ∂
- "::Libraries:SNMPLibrary.clf.o" ∂
- "::Libraries:LibraryManager.o" ∂
- "{Libraries}Runtime.o" ∂
- "{Libraries}Interface.o"
-
-
- ":Built:SNMP Sample Agent" ƒƒ {RES_05}
- {REZ} -t libr -c snmp -s :Objects: -i "::Library Manager Interfaces:" ∂
- -i "::SNMP Interfaces:" -i :Sources: -o {Targ} {RES_05}
-
- ":Built:SNMP Sample Agent" ƒƒ {RES_05}
- {SETFILE} -a ib {Targ}
-
-
-
- clean ƒ
- {DELETE} {DELETEOPTS} {OBJS_00}
-
- clobber ƒ clean
- {DELETE} {DELETEOPTS} {TARGETS}
-
- count ƒ
- {COUNT} {COUNTOPTS} {DOT_H} {DOT_R} {SRCS}
-
- files ƒ
- {FILES} {FILESOPTS} {TARGETS} {MAKEFILE} {DOT_H} {DOT_R} {SRCS} {OBJS_00}
-
- print ƒ
- {PRINT} {PRINTOPTS} {MAKEFILE} {DOT_H} {DOT_R} {SRCS}
-
- tags ƒ {DOT_H} {SRCS}
- {CTAGS} {CTAGSOPTS} {C_INCDIRS} {NewerDeps}
-
-
- :Objects:SampleAgent.cp.o ƒ ∂
- "{CIncludes}Types.h" "{CIncludes}Resources.h" "{CIncludes}Files.h" ∂
- "{CIncludes}OSUtils.h" "{CIncludes}SegLoad.h" "{CIncludes}ToolUtils.h" ∂
- "{CIncludes}Quickdraw.h" "{CIncludes}String.h" ∂
- "::SNMP Interfaces:SNMP.h" "::SNMP Interfaces:SNMPVarTypes.h" ∂
- "::SNMP Interfaces:TSNMP.h" "::Library Manager Interfaces:LibraryManager.h" ∂
- "{CIncludes}StdDef.h" "{CIncludes}Memory.h" "{CIncludes}Aliases.h" ∂
- "{CIncludes}AppleTalk.h" "::Library Manager Interfaces:LibraryManagerUtilities.h" ∂
- "::Library Manager Interfaces:LibraryManagerClasses.h" "{CIncludes}SetJmp.h" ∂
- "{CIncludes}Strings.h" :Sources:SampleAgent.h :Sources:SampleVar.h
-